public class Testdemo {
    public static void main(String[] args) {
        int age = 27;
        if(age<=18){
            System.out.println("少年");
        }
        if(19<=age && age<=28){
            System.out.println("青年");
        }
        if(29<=age && age<=55){
            System.out.println("中年");
        }
        if(age>56){
            System.out.println("老年");
        }
    }
}
